package com.sise.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author zj
 */
@Data
@Accessors(chain = true)
public class ProductType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品类型id
     */
    @TableId(value = "product_type_id", type = IdType.AUTO)
    private Integer productTypeId;

    /**
     * 商铺id
     */
    @TableField("store_id")
    private Integer storeId;

    /**
     * 商品类型名称
     */
    @TableField("product_type_name")
    private String productTypeName;
}
